<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="API docs for the DateTime class from the dart:core library, for the Dart programming language.">
  <title>DateTime class - dart:core library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">

</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">spritewidget</a></li>
    <li><a href="dart-core/dart-core-library.html">dart:core</a></li>
    <li class="self-crumb">DateTime class</li>
  </ol>
  <div class="self-name">DateTime</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <h5>dart:core library</h5>
    <ol>
      <li class="section-title"><a href="dart-core/dart-core-library.html#classes">Classes</a></li>
      <li><a href="dart-core/BidirectionalIterator-class.html">BidirectionalIterator</a></li>
      <li><a href="dart-core/BigInt-class.html">BigInt</a></li>
      <li><a href="dart-core/bool-class.html">bool</a></li>
      <li><a href="dart-core/Comparable-class.html">Comparable</a></li>
      <li><a href="dart-core/DateTime-class.html">DateTime</a></li>
      <li><a href="dart-core/Deprecated-class.html">Deprecated</a></li>
      <li><a href="dart-core/double-class.html">double</a></li>
      <li><a href="dart-core/Duration-class.html">Duration</a></li>
      <li><a href="dart-core/Expando-class.html">Expando</a></li>
      <li><a href="dart-core/Function-class.html">Function</a></li>
      <li><a href="dart-core/int-class.html">int</a></li>
      <li><a href="dart-core/Invocation-class.html">Invocation</a></li>
      <li><a href="dart-core/Iterable-class.html">Iterable</a></li>
      <li><a href="dart-core/Iterator-class.html">Iterator</a></li>
      <li><a href="dart-core/List-class.html">List</a></li>
      <li><a href="dart-core/Map-class.html">Map</a></li>
      <li><a href="dart-core/MapEntry-class.html">MapEntry</a></li>
      <li><a href="dart-core/Match-class.html">Match</a></li>
      <li><a href="dart-core/Null-class.html">Null</a></li>
      <li><a href="dart-core/num-class.html">num</a></li>
      <li><a href="dart-core/Object-class.html">Object</a></li>
      <li><a href="dart-core/Pattern-class.html">Pattern</a></li>
      <li><a href="dart-core/pragma-class.html">pragma</a></li>
      <li><a href="dart-core/Provisional-class.html">Provisional</a></li>
      <li><a href="dart-core/RegExp-class.html">RegExp</a></li>
      <li><a href="dart-core/RuneIterator-class.html">RuneIterator</a></li>
      <li><a href="dart-core/Runes-class.html">Runes</a></li>
      <li><a href="dart-core/Set-class.html">Set</a></li>
      <li><a href="dart-core/Sink-class.html">Sink</a></li>
      <li><a href="dart-core/StackTrace-class.html">StackTrace</a></li>
      <li><a href="dart-core/Stopwatch-class.html">Stopwatch</a></li>
      <li><a href="dart-core/String-class.html">String</a></li>
      <li><a href="dart-core/StringBuffer-class.html">StringBuffer</a></li>
      <li><a href="dart-core/StringSink-class.html">StringSink</a></li>
      <li><a href="dart-core/Symbol-class.html">Symbol</a></li>
      <li><a href="dart-core/Type-class.html">Type</a></li>
      <li><a href="dart-core/Uri-class.html">Uri</a></li>
      <li><a href="dart-core/UriData-class.html">UriData</a></li>
    
      <li class="section-title"><a href="dart-core/dart-core-library.html#constants">Constants</a></li>
      <li><a href="dart-core/deprecated-constant.html">deprecated</a></li>
      <li><a href="dart-core/override-constant.html">override</a></li>
      <li><a href="dart-core/provisional-constant.html">provisional</a></li>
      <li><a class="deprecated" href="dart-core/proxy-constant.html">proxy</a></li>
    
    
      <li class="section-title"><a href="dart-core/dart-core-library.html#functions">Functions</a></li>
      <li><a href="dart-core/identical.html">identical</a></li>
      <li><a href="dart-core/identityHashCode.html">identityHashCode</a></li>
      <li><a href="dart-core/print.html">print</a></li>
    
    
      <li class="section-title"><a href="dart-core/dart-core-library.html#typedefs">Typedefs</a></li>
      <li><a href="dart-core/Comparator.html">Comparator</a></li>
    
      <li class="section-title"><a href="dart-core/dart-core-library.html#exceptions">Exceptions</a></li>
      <li><a href="dart-core/AbstractClassInstantiationError-class.html">AbstractClassInstantiationError</a></li>
      <li><a href="dart-core/ArgumentError-class.html">ArgumentError</a></li>
      <li><a href="dart-core/AssertionError-class.html">AssertionError</a></li>
      <li><a href="dart-core/CastError-class.html">CastError</a></li>
      <li><a href="dart-core/ConcurrentModificationError-class.html">ConcurrentModificationError</a></li>
      <li><a href="dart-core/CyclicInitializationError-class.html">CyclicInitializationError</a></li>
      <li><a href="dart-core/Error-class.html">Error</a></li>
      <li><a href="dart-core/Exception-class.html">Exception</a></li>
      <li><a href="dart-core/FallThroughError-class.html">FallThroughError</a></li>
      <li><a href="dart-core/FormatException-class.html">FormatException</a></li>
      <li><a href="dart-core/IndexError-class.html">IndexError</a></li>
      <li><a href="dart-core/IntegerDivisionByZeroException-class.html">IntegerDivisionByZeroException</a></li>
      <li><a href="dart-core/NoSuchMethodError-class.html">NoSuchMethodError</a></li>
      <li><a href="dart-core/NullThrownError-class.html">NullThrownError</a></li>
      <li><a href="dart-core/OutOfMemoryError-class.html">OutOfMemoryError</a></li>
      <li><a href="dart-core/RangeError-class.html">RangeError</a></li>
      <li><a href="dart-core/StackOverflowError-class.html">StackOverflowError</a></li>
      <li><a href="dart-core/StateError-class.html">StateError</a></li>
      <li><a href="dart-core/TypeError-class.html">TypeError</a></li>
      <li><a href="dart-core/UnimplementedError-class.html">UnimplementedError</a></li>
      <li><a href="dart-core/UnsupportedError-class.html">UnsupportedError</a></li>
    </ol>
  </div>

  <div class="col-xs-12 col-sm-9 col-md-8 main-content">
    <h1>DateTime class</h1>

    <section class="desc markdown">
      <p>An instant in time, such as July 20, 1969, 8:18pm GMT.</p>
<p>DateTimes can represent time values that are at a distance of at most
100,000,000 days from epoch (1970-01-01 UTC): -271821-04-20 to 275760-09-13.</p>
<p>Create a DateTime object by using one of the constructors
or by parsing a correctly formatted string,
which complies with a subset of ISO 8601.
Note that hours are specified between 0 and 23,
as in a 24-hour clock.
For example:</p>
<pre class="language-dart"><code>var now = new DateTime.now();
var berlinWallFell = new DateTime.utc(1989, 11, 9);
var moonLanding = DateTime.parse("1969-07-20 20:18:04Z");  // 8:18pm
</code></pre>
<p>A DateTime object is anchored either in the UTC time zone
or in the local time zone of the current computer
when the object is created.</p>
<p>Once created, neither the value nor the time zone
of a DateTime object may be changed.</p>
<p>You can use properties to get
the individual units of a DateTime object.</p>
<pre class="language-dart"><code>assert(berlinWallFell.month == 11);
assert(moonLanding.hour == 20);
</code></pre>
<p>For convenience and readability,
the DateTime class provides a constant for each day and month
name - for example, <a href="dart-core/DateTime/august-constant.html">august</a> and <a href="dart-core/DateTime/friday-constant.html">friday</a>.
You can use these constants to improve code readability:</p>
<pre class="language-dart"><code>var berlinWallFell = new DateTime.utc(1989, DateTime.november, 9);
assert(berlinWallFell.weekday == DateTime.thursday);
</code></pre>
<p>Day and month values begin at 1, and the week starts on Monday.
That is, the constants <a href="dart-core/DateTime/january-constant.html">january</a> and <a href="dart-core/DateTime/monday-constant.html">monday</a> are both 1.</p>
<h2>Working with UTC and local time</h2>
<p>A DateTime object is in the local time zone
unless explicitly created in the UTC time zone.</p>
<pre class="language-dart"><code>var dDay = new DateTime.utc(1944, 6, 6);
</code></pre>
<p>Use <a href="dart-core/DateTime/isUtc.html">isUtc</a> to determine whether a DateTime object is based in UTC.
Use the methods <a href="dart-core/DateTime/toLocal.html">toLocal</a> and <a href="dart-core/DateTime/toUtc.html">toUtc</a>
to get the equivalent date/time value specified in the other time zone.
Use <a href="dart-core/DateTime/timeZoneName.html">timeZoneName</a> to get an abbreviated name of the time zone
for the DateTime object.
To find the difference
between UTC and the time zone of a DateTime object
call <a href="dart-core/DateTime/timeZoneOffset.html">timeZoneOffset</a>.</p>
<h2>Comparing DateTime objects</h2>
<p>The DateTime class contains several handy methods,
such as <a href="dart-core/DateTime/isAfter.html">isAfter</a>, <a href="dart-core/DateTime/isBefore.html">isBefore</a>, and <a href="dart-core/DateTime/isAtSameMomentAs.html">isAtSameMomentAs</a>,
for comparing DateTime objects.</p>
<pre class="language-dart"><code>assert(berlinWallFell.isAfter(moonLanding) == true);
assert(berlinWallFell.isBefore(moonLanding) == false);
</code></pre>
<h2>Using DateTime with Duration</h2>
<p>Use the <a href="dart-core/DateTime/add.html">add</a> and <a href="dart-core/DateTime/subtract.html">subtract</a> methods with a <a href="dart-core/Duration-class.html">Duration</a> object
to create a new DateTime object based on another.
For example, to find the date that is sixty days (24 * 60 hours) after today,
write:</p>
<pre class="language-dart"><code>var now = new DateTime.now();
var sixtyDaysFromNow = now.add(new Duration(days: 60));
</code></pre>
<p>To find out how much time is between two DateTime objects use
<a href="dart-core/DateTime/difference.html">difference</a>, which returns a <a href="dart-core/Duration-class.html">Duration</a> object:</p>
<pre class="language-dart"><code>var difference = berlinWallFell.difference(moonLanding);
assert(difference.inDays == 7416);
</code></pre>
<p>The difference between two dates in different time zones
is just the number of nanoseconds between the two points in time.
It doesn't take calendar days into account.
That means that the difference between two midnights in local time may be
less than 24 hours times the number of days between them,
if there is a daylight saving change in between.
If the difference above is calculated using Australian local time, the
difference is 7415 days and 23 hours, which is only 7415 whole days as
reported by <code>inDays</code>.</p>
<h2>Other resources</h2>
<p>See <a href="dart-core/Duration-class.html">Duration</a> to represent a span of time.
See <a href="dart-core/Stopwatch-class.html">Stopwatch</a> to measure timespans.</p>
<p>The DateTime class does not provide internationalization.
To internationalize your code, use
the <a href="http://pub.dartlang.org/packages/intl">intl</a> package.</p>
    </section>
    
    <section>
      <dl class="dl-horizontal">

        <dt>Implements</dt>
        <dd>
          <ul class="comma-separated clazz-relationships">
            <li><a href="dart-core/Comparable-class.html">Comparable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/DateTime-class.html">DateTime</a></span>&gt;</span></li>
          </ul>
        </dd>



      </dl>
    </section>

    <section class="summary offset-anchor" id="constructors">
      <h2>Constructors</h2>

      <dl class="constructor-summary-list">
        <dt id="DateTime" class="callable">
          <span class="name"><a href="dart-core/DateTime/DateTime.html">DateTime</a></span><span class="signature">(<span class="parameter" id="-param-year"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">year</span>, [</span> <span class="parameter" id="-param-month"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">month</span> = <span class="default-value">1</span>, </span> <span class="parameter" id="-param-day"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">day</span> = <span class="default-value">1</span>, </span> <span class="parameter" id="-param-hour"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">hour</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="-param-minute"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">minute</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="-param-second"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">second</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="-param-millisecond"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">millisecond</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="-param-microsecond"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">microsecond</span> = <span class="default-value">0</span></span> ])</span>
        </dt>
        <dd>
          Constructs a <a href="dart-core/DateTime-class.html">DateTime</a> instance specified in the local time zone. <a href="dart-core/DateTime/DateTime.html">[...]</a>
        </dd>
        <dt id="DateTime.fromMicrosecondsSinceEpoch" class="callable">
          <span class="name"><a href="dart-core/DateTime/DateTime.fromMicrosecondsSinceEpoch.html">DateTime.fromMicrosecondsSinceEpoch</a></span><span class="signature">(<span class="parameter" id="fromMicrosecondsSinceEpoch-param-microsecondsSinceEpoch"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">microsecondsSinceEpoch</span>, {</span> <span class="parameter" id="fromMicrosecondsSinceEpoch-param-isUtc"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">isUtc</span>: <span class="default-value">false</span></span> })</span>
        </dt>
        <dd>
          Constructs a new <a href="dart-core/DateTime-class.html">DateTime</a> instance
with the given <code>microsecondsSinceEpoch</code>. <a href="dart-core/DateTime/DateTime.fromMicrosecondsSinceEpoch.html">[...]</a>
        </dd>
        <dt id="DateTime.fromMillisecondsSinceEpoch" class="callable">
          <span class="name"><a href="dart-core/DateTime/DateTime.fromMillisecondsSinceEpoch.html">DateTime.fromMillisecondsSinceEpoch</a></span><span class="signature">(<span class="parameter" id="fromMillisecondsSinceEpoch-param-millisecondsSinceEpoch"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">millisecondsSinceEpoch</span>, {</span> <span class="parameter" id="fromMillisecondsSinceEpoch-param-isUtc"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">isUtc</span>: <span class="default-value">false</span></span> })</span>
        </dt>
        <dd>
          Constructs a new <a href="dart-core/DateTime-class.html">DateTime</a> instance
with the given <code>millisecondsSinceEpoch</code>. <a href="dart-core/DateTime/DateTime.fromMillisecondsSinceEpoch.html">[...]</a>
        </dd>
        <dt id="DateTime.now" class="callable">
          <span class="name"><a href="dart-core/DateTime/DateTime.now.html">DateTime.now</a></span><span class="signature">()</span>
        </dt>
        <dd>
          Constructs a <a href="dart-core/DateTime-class.html">DateTime</a> instance with current date and time in the
local time zone. <a href="dart-core/DateTime/DateTime.now.html">[...]</a>
        </dd>
        <dt id="DateTime.utc" class="callable">
          <span class="name"><a href="dart-core/DateTime/DateTime.utc.html">DateTime.utc</a></span><span class="signature">(<span class="parameter" id="utc-param-year"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">year</span>, [</span> <span class="parameter" id="utc-param-month"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">month</span> = <span class="default-value">1</span>, </span> <span class="parameter" id="utc-param-day"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">day</span> = <span class="default-value">1</span>, </span> <span class="parameter" id="utc-param-hour"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">hour</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="utc-param-minute"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">minute</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="utc-param-second"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">second</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="utc-param-millisecond"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">millisecond</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="utc-param-microsecond"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">microsecond</span> = <span class="default-value">0</span></span> ])</span>
        </dt>
        <dd>
          Constructs a <a href="dart-core/DateTime-class.html">DateTime</a> instance specified in the UTC time zone. <a href="dart-core/DateTime/DateTime.utc.html">[...]</a>
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="day" class="property">
          <span class="name"><a href="dart-core/DateTime/day.html">day</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The day of the month <code>1..31</code>. <a href="dart-core/DateTime/day.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="hashCode" class="property">
          <span class="name"><a href="dart-core/DateTime/hashCode.html">hashCode</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The hash code for this object. <a href="dart-core/DateTime/hashCode.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="hour" class="property">
          <span class="name"><a href="dart-core/DateTime/hour.html">hour</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The hour of the day, expressed as in a 24-hour clock <code>0..23</code>. <a href="dart-core/DateTime/hour.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="isUtc" class="property">
          <span class="name"><a href="dart-core/DateTime/isUtc.html">isUtc</a></span>
          <span class="signature">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
        </dt>
        <dd>
          True if this <code>DateTime</code> is set to UTC time. <a href="dart-core/DateTime/isUtc.html">[...]</a>
          <div class="features">final</div>
</dd>
        <dt id="microsecond" class="property">
          <span class="name"><a href="dart-core/DateTime/microsecond.html">microsecond</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The microsecond <code>0...999</code>. <a href="dart-core/DateTime/microsecond.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="microsecondsSinceEpoch" class="property">
          <span class="name"><a href="dart-core/DateTime/microsecondsSinceEpoch.html">microsecondsSinceEpoch</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The number of microseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC). <a href="dart-core/DateTime/microsecondsSinceEpoch.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="millisecond" class="property">
          <span class="name"><a href="dart-core/DateTime/millisecond.html">millisecond</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The millisecond <code>0...999</code>. <a href="dart-core/DateTime/millisecond.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="millisecondsSinceEpoch" class="property">
          <span class="name"><a href="dart-core/DateTime/millisecondsSinceEpoch.html">millisecondsSinceEpoch</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The number of milliseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC). <a href="dart-core/DateTime/millisecondsSinceEpoch.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="minute" class="property">
          <span class="name"><a href="dart-core/DateTime/minute.html">minute</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The minute <code>0...59</code>. <a href="dart-core/DateTime/minute.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="month" class="property">
          <span class="name"><a href="dart-core/DateTime/month.html">month</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The month <code>1..12</code>. <a href="dart-core/DateTime/month.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="second" class="property">
          <span class="name"><a href="dart-core/DateTime/second.html">second</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The second <code>0...59</code>. <a href="dart-core/DateTime/second.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="timeZoneName" class="property">
          <span class="name"><a href="dart-core/DateTime/timeZoneName.html">timeZoneName</a></span>
          <span class="signature">&#8594; <a href="dart-core/String-class.html">String</a></span>
        </dt>
        <dd>
          The time zone name. <a href="dart-core/DateTime/timeZoneName.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="timeZoneOffset" class="property">
          <span class="name"><a href="dart-core/DateTime/timeZoneOffset.html">timeZoneOffset</a></span>
          <span class="signature">&#8594; <a href="dart-core/Duration-class.html">Duration</a></span>
        </dt>
        <dd>
          The time zone offset, which
is the difference between local time and UTC. <a href="dart-core/DateTime/timeZoneOffset.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="weekday" class="property">
          <span class="name"><a href="dart-core/DateTime/weekday.html">weekday</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The day of the week <a href="dart-core/DateTime/monday-constant.html">monday</a>..<a href="dart-core/DateTime/sunday-constant.html">sunday</a>. <a href="dart-core/DateTime/weekday.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="year" class="property">
          <span class="name"><a href="dart-core/DateTime/year.html">year</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          The year. <a href="dart-core/DateTime/year.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="runtimeType" class="property inherited">
          <span class="name"><a href="dart-core/Object/runtimeType.html">runtimeType</a></span>
          <span class="signature">&#8594; <a href="dart-core/Type-class.html">Type</a></span>
        </dt>
        <dd class="inherited">
          A representation of the runtime type of the object.
          <div class="features">read-only, inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-methods">
      <h2>Methods</h2>
      <dl class="callables">
        <dt id="add" class="callable">
          <span class="name"><a href="dart-core/DateTime/add.html">add</a></span><span class="signature">(<wbr><span class="parameter" id="add-param-duration"><span class="type-annotation"><a href="dart-core/Duration-class.html">Duration</a></span> <span class="parameter-name">duration</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/DateTime-class.html">DateTime</a></span>
          </span>
        </dt>
        <dd>
          Returns a new <a href="dart-core/DateTime-class.html">DateTime</a> instance with <code>duration</code> added to <a href="dart-core/DateTime-class.html">this</a>. <a href="dart-core/DateTime/add.html">[...]</a>
          
</dd>
        <dt id="compareTo" class="callable">
          <span class="name"><a href="dart-core/DateTime/compareTo.html">compareTo</a></span><span class="signature">(<wbr><span class="parameter" id="compareTo-param-other"><span class="type-annotation"><a href="dart-core/DateTime-class.html">DateTime</a></span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
        </dt>
        <dd>
          Compares this DateTime object to <code>other</code>,
returning zero if the values are equal. <a href="dart-core/DateTime/compareTo.html">[...]</a>
          
</dd>
        <dt id="difference" class="callable">
          <span class="name"><a href="dart-core/DateTime/difference.html">difference</a></span><span class="signature">(<wbr><span class="parameter" id="difference-param-other"><span class="type-annotation"><a href="dart-core/DateTime-class.html">DateTime</a></span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/Duration-class.html">Duration</a></span>
          </span>
        </dt>
        <dd>
          Returns a <a href="dart-core/Duration-class.html">Duration</a> with the difference between <a href="dart-core/DateTime-class.html">this</a> and <code>other</code>. <a href="dart-core/DateTime/difference.html">[...]</a>
          
</dd>
        <dt id="isAfter" class="callable">
          <span class="name"><a href="dart-core/DateTime/isAfter.html">isAfter</a></span><span class="signature">(<wbr><span class="parameter" id="isAfter-param-other"><span class="type-annotation"><a href="dart-core/DateTime-class.html">DateTime</a></span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd>
          Returns true if <a href="dart-core/DateTime-class.html">this</a> occurs after <code>other</code>. <a href="dart-core/DateTime/isAfter.html">[...]</a>
          
</dd>
        <dt id="isAtSameMomentAs" class="callable">
          <span class="name"><a href="dart-core/DateTime/isAtSameMomentAs.html">isAtSameMomentAs</a></span><span class="signature">(<wbr><span class="parameter" id="isAtSameMomentAs-param-other"><span class="type-annotation"><a href="dart-core/DateTime-class.html">DateTime</a></span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd>
          Returns true if <a href="dart-core/DateTime-class.html">this</a> occurs at the same moment as <code>other</code>. <a href="dart-core/DateTime/isAtSameMomentAs.html">[...]</a>
          
</dd>
        <dt id="isBefore" class="callable">
          <span class="name"><a href="dart-core/DateTime/isBefore.html">isBefore</a></span><span class="signature">(<wbr><span class="parameter" id="isBefore-param-other"><span class="type-annotation"><a href="dart-core/DateTime-class.html">DateTime</a></span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd>
          Returns true if <a href="dart-core/DateTime-class.html">this</a> occurs before <code>other</code>. <a href="dart-core/DateTime/isBefore.html">[...]</a>
          
</dd>
        <dt id="subtract" class="callable">
          <span class="name"><a href="dart-core/DateTime/subtract.html">subtract</a></span><span class="signature">(<wbr><span class="parameter" id="subtract-param-duration"><span class="type-annotation"><a href="dart-core/Duration-class.html">Duration</a></span> <span class="parameter-name">duration</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/DateTime-class.html">DateTime</a></span>
          </span>
        </dt>
        <dd>
          Returns a new <a href="dart-core/DateTime-class.html">DateTime</a> instance with <code>duration</code> subtracted from <a href="dart-core/DateTime-class.html">this</a>. <a href="dart-core/DateTime/subtract.html">[...]</a>
          
</dd>
        <dt id="toIso8601String" class="callable">
          <span class="name"><a href="dart-core/DateTime/toIso8601String.html">toIso8601String</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/String-class.html">String</a></span>
          </span>
        </dt>
        <dd>
          Returns an ISO-8601 full-precision extended format representation. <a href="dart-core/DateTime/toIso8601String.html">[...]</a>
          
</dd>
        <dt id="toLocal" class="callable">
          <span class="name"><a href="dart-core/DateTime/toLocal.html">toLocal</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/DateTime-class.html">DateTime</a></span>
          </span>
        </dt>
        <dd>
          Returns this DateTime value in the local time zone. <a href="dart-core/DateTime/toLocal.html">[...]</a>
          
</dd>
        <dt id="toString" class="callable">
          <span class="name"><a href="dart-core/DateTime/toString.html">toString</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/String-class.html">String</a></span>
          </span>
        </dt>
        <dd>
          Returns a human-readable string for this instance. <a href="dart-core/DateTime/toString.html">[...]</a>
          
</dd>
        <dt id="toUtc" class="callable">
          <span class="name"><a href="dart-core/DateTime/toUtc.html">toUtc</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/DateTime-class.html">DateTime</a></span>
          </span>
        </dt>
        <dd>
          Returns this DateTime value in the UTC time zone. <a href="dart-core/DateTime/toUtc.html">[...]</a>
          
</dd>
        <dt id="noSuchMethod" class="callable inherited">
          <span class="name"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
            <span class="returntype parameter">&#8594; dynamic</span>
          </span>
        </dt>
        <dd class="inherited">
          Invoked when a non-existent method or property is accessed. <a href="dart-core/Object/noSuchMethod.html">[...]</a>
          <div class="features">inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="operators">
      <h2>Operators</h2>
      <dl class="callables">
        <dt id="operator ==" class="callable">
          <span class="name"><a href="dart-core/DateTime/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd>
          Returns true if <code>other</code> is a <a href="dart-core/DateTime-class.html">DateTime</a> at the same moment and in the
same time zone (UTC or local). <a href="dart-core/DateTime/operator_equals.html">[...]</a>
          
</dd>
      </dl>
    </section>


    <section class="summary offset-anchor" id="static-methods">
      <h2>Static Methods</h2>
      <dl class="callables">
        <dt id="parse" class="callable">
          <span class="name"><a href="dart-core/DateTime/parse.html">parse</a></span><span class="signature">(<wbr><span class="parameter" id="parse-param-formattedString"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">formattedString</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/DateTime-class.html">DateTime</a></span>
          </span>
        </dt>
        <dd>
          Constructs a new <a href="dart-core/DateTime-class.html">DateTime</a> instance based on <code>formattedString</code>. <a href="dart-core/DateTime/parse.html">[...]</a>
          
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="constants">
      <h2>Constants</h2>

      <dl class="properties">
        <dt id="APRIL" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/APRIL-constant.html">APRIL</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use april instead&quot;)</div>
  <div>
            <span class="signature"><code>april</code></span>
          </div>
        </dd>
        <dt id="april" class="constant">
          <span class="name "><a href="dart-core/DateTime/april-constant.html">april</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>4</code></span>
          </div>
        </dd>
        <dt id="AUGUST" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/AUGUST-constant.html">AUGUST</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use august instead&quot;)</div>
  <div>
            <span class="signature"><code>august</code></span>
          </div>
        </dd>
        <dt id="august" class="constant">
          <span class="name "><a href="dart-core/DateTime/august-constant.html">august</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>8</code></span>
          </div>
        </dd>
        <dt id="DAYS_PER_WEEK" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/DAYS_PER_WEEK-constant.html">DAYS_PER_WEEK</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use daysPerWeek instead&quot;)</div>
  <div>
            <span class="signature"><code>daysPerWeek</code></span>
          </div>
        </dd>
        <dt id="daysPerWeek" class="constant">
          <span class="name "><a href="dart-core/DateTime/daysPerWeek-constant.html">daysPerWeek</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>7</code></span>
          </div>
        </dd>
        <dt id="DECEMBER" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/DECEMBER-constant.html">DECEMBER</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use december instead&quot;)</div>
  <div>
            <span class="signature"><code>december</code></span>
          </div>
        </dd>
        <dt id="december" class="constant">
          <span class="name "><a href="dart-core/DateTime/december-constant.html">december</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>12</code></span>
          </div>
        </dd>
        <dt id="FEBRUARY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/FEBRUARY-constant.html">FEBRUARY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use february instead&quot;)</div>
  <div>
            <span class="signature"><code>february</code></span>
          </div>
        </dd>
        <dt id="february" class="constant">
          <span class="name "><a href="dart-core/DateTime/february-constant.html">february</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>2</code></span>
          </div>
        </dd>
        <dt id="FRIDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/FRIDAY-constant.html">FRIDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use friday instead&quot;)</div>
  <div>
            <span class="signature"><code>friday</code></span>
          </div>
        </dd>
        <dt id="friday" class="constant">
          <span class="name "><a href="dart-core/DateTime/friday-constant.html">friday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>5</code></span>
          </div>
        </dd>
        <dt id="JANUARY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/JANUARY-constant.html">JANUARY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use january instead&quot;)</div>
  <div>
            <span class="signature"><code>january</code></span>
          </div>
        </dd>
        <dt id="january" class="constant">
          <span class="name "><a href="dart-core/DateTime/january-constant.html">january</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>1</code></span>
          </div>
        </dd>
        <dt id="JULY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/JULY-constant.html">JULY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use july instead&quot;)</div>
  <div>
            <span class="signature"><code>july</code></span>
          </div>
        </dd>
        <dt id="july" class="constant">
          <span class="name "><a href="dart-core/DateTime/july-constant.html">july</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>7</code></span>
          </div>
        </dd>
        <dt id="JUNE" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/JUNE-constant.html">JUNE</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use june instead&quot;)</div>
  <div>
            <span class="signature"><code>june</code></span>
          </div>
        </dd>
        <dt id="june" class="constant">
          <span class="name "><a href="dart-core/DateTime/june-constant.html">june</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>6</code></span>
          </div>
        </dd>
        <dt id="MARCH" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/MARCH-constant.html">MARCH</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use march instead&quot;)</div>
  <div>
            <span class="signature"><code>march</code></span>
          </div>
        </dd>
        <dt id="march" class="constant">
          <span class="name "><a href="dart-core/DateTime/march-constant.html">march</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>3</code></span>
          </div>
        </dd>
        <dt id="MAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/MAY-constant.html">MAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use may instead&quot;)</div>
  <div>
            <span class="signature"><code>may</code></span>
          </div>
        </dd>
        <dt id="may" class="constant">
          <span class="name "><a href="dart-core/DateTime/may-constant.html">may</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>5</code></span>
          </div>
        </dd>
        <dt id="MONDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/MONDAY-constant.html">MONDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use monday instead&quot;)</div>
  <div>
            <span class="signature"><code>monday</code></span>
          </div>
        </dd>
        <dt id="monday" class="constant">
          <span class="name "><a href="dart-core/DateTime/monday-constant.html">monday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>1</code></span>
          </div>
        </dd>
        <dt id="MONTHS_PER_YEAR" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/MONTHS_PER_YEAR-constant.html">MONTHS_PER_YEAR</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use monthsPerYear instead&quot;)</div>
  <div>
            <span class="signature"><code>monthsPerYear</code></span>
          </div>
        </dd>
        <dt id="monthsPerYear" class="constant">
          <span class="name "><a href="dart-core/DateTime/monthsPerYear-constant.html">monthsPerYear</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>12</code></span>
          </div>
        </dd>
        <dt id="NOVEMBER" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/NOVEMBER-constant.html">NOVEMBER</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use november instead&quot;)</div>
  <div>
            <span class="signature"><code>november</code></span>
          </div>
        </dd>
        <dt id="november" class="constant">
          <span class="name "><a href="dart-core/DateTime/november-constant.html">november</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>11</code></span>
          </div>
        </dd>
        <dt id="OCTOBER" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/OCTOBER-constant.html">OCTOBER</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use october instead&quot;)</div>
  <div>
            <span class="signature"><code>october</code></span>
          </div>
        </dd>
        <dt id="october" class="constant">
          <span class="name "><a href="dart-core/DateTime/october-constant.html">october</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>10</code></span>
          </div>
        </dd>
        <dt id="SATURDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/SATURDAY-constant.html">SATURDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use saturday instead&quot;)</div>
  <div>
            <span class="signature"><code>saturday</code></span>
          </div>
        </dd>
        <dt id="saturday" class="constant">
          <span class="name "><a href="dart-core/DateTime/saturday-constant.html">saturday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>6</code></span>
          </div>
        </dd>
        <dt id="SEPTEMBER" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/SEPTEMBER-constant.html">SEPTEMBER</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use september instead&quot;)</div>
  <div>
            <span class="signature"><code>september</code></span>
          </div>
        </dd>
        <dt id="september" class="constant">
          <span class="name "><a href="dart-core/DateTime/september-constant.html">september</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>9</code></span>
          </div>
        </dd>
        <dt id="SUNDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/SUNDAY-constant.html">SUNDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use sunday instead&quot;)</div>
  <div>
            <span class="signature"><code>sunday</code></span>
          </div>
        </dd>
        <dt id="sunday" class="constant">
          <span class="name "><a href="dart-core/DateTime/sunday-constant.html">sunday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>7</code></span>
          </div>
        </dd>
        <dt id="THURSDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/THURSDAY-constant.html">THURSDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use thursday instead&quot;)</div>
  <div>
            <span class="signature"><code>thursday</code></span>
          </div>
        </dd>
        <dt id="thursday" class="constant">
          <span class="name "><a href="dart-core/DateTime/thursday-constant.html">thursday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>4</code></span>
          </div>
        </dd>
        <dt id="TUESDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/TUESDAY-constant.html">TUESDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use tuesday instead&quot;)</div>
  <div>
            <span class="signature"><code>tuesday</code></span>
          </div>
        </dd>
        <dt id="tuesday" class="constant">
          <span class="name "><a href="dart-core/DateTime/tuesday-constant.html">tuesday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>2</code></span>
          </div>
        </dd>
        <dt id="WEDNESDAY" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-core/DateTime/WEDNESDAY-constant.html">WEDNESDAY</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use wednesday instead&quot;)</div>
  <div>
            <span class="signature"><code>wednesday</code></span>
          </div>
        </dd>
        <dt id="wednesday" class="constant">
          <span class="name "><a href="dart-core/DateTime/wednesday-constant.html">wednesday</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          
  <div>
            <span class="signature"><code>3</code></span>
          </div>
        </dd>
      </dl>
    </section>

  </div> <!-- /.main-content -->

  <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <ol>
      <li class="section-title"><a href="dart-core/DateTime-class.html#constructors">Constructors</a></li>
      <li><a href="dart-core/DateTime/DateTime.html">DateTime</a></li>
      <li><a href="dart-core/DateTime/DateTime.fromMicrosecondsSinceEpoch.html">fromMicrosecondsSinceEpoch</a></li>
      <li><a href="dart-core/DateTime/DateTime.fromMillisecondsSinceEpoch.html">fromMillisecondsSinceEpoch</a></li>
      <li><a href="dart-core/DateTime/DateTime.now.html">now</a></li>
      <li><a href="dart-core/DateTime/DateTime.utc.html">utc</a></li>
    
      <li class="section-title">
        <a href="dart-core/DateTime-class.html#instance-properties">Properties</a>
      </li>
      <li><a href="dart-core/DateTime/day.html">day</a></li>
      <li><a href="dart-core/DateTime/hashCode.html">hashCode</a></li>
      <li><a href="dart-core/DateTime/hour.html">hour</a></li>
      <li><a href="dart-core/DateTime/isUtc.html">isUtc</a></li>
      <li><a href="dart-core/DateTime/microsecond.html">microsecond</a></li>
      <li><a href="dart-core/DateTime/microsecondsSinceEpoch.html">microsecondsSinceEpoch</a></li>
      <li><a href="dart-core/DateTime/millisecond.html">millisecond</a></li>
      <li><a href="dart-core/DateTime/millisecondsSinceEpoch.html">millisecondsSinceEpoch</a></li>
      <li><a href="dart-core/DateTime/minute.html">minute</a></li>
      <li><a href="dart-core/DateTime/month.html">month</a></li>
      <li><a href="dart-core/DateTime/second.html">second</a></li>
      <li><a href="dart-core/DateTime/timeZoneName.html">timeZoneName</a></li>
      <li><a href="dart-core/DateTime/timeZoneOffset.html">timeZoneOffset</a></li>
      <li><a href="dart-core/DateTime/weekday.html">weekday</a></li>
      <li><a href="dart-core/DateTime/year.html">year</a></li>
      <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
    
      <li class="section-title"><a href="dart-core/DateTime-class.html#instance-methods">Methods</a></li>
      <li><a href="dart-core/DateTime/add.html">add</a></li>
      <li><a href="dart-core/DateTime/compareTo.html">compareTo</a></li>
      <li><a href="dart-core/DateTime/difference.html">difference</a></li>
      <li><a href="dart-core/DateTime/isAfter.html">isAfter</a></li>
      <li><a href="dart-core/DateTime/isAtSameMomentAs.html">isAtSameMomentAs</a></li>
      <li><a href="dart-core/DateTime/isBefore.html">isBefore</a></li>
      <li><a href="dart-core/DateTime/subtract.html">subtract</a></li>
      <li><a href="dart-core/DateTime/toIso8601String.html">toIso8601String</a></li>
      <li><a href="dart-core/DateTime/toLocal.html">toLocal</a></li>
      <li><a href="dart-core/DateTime/toString.html">toString</a></li>
      <li><a href="dart-core/DateTime/toUtc.html">toUtc</a></li>
      <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
    
      <li class="section-title"><a href="dart-core/DateTime-class.html#operators">Operators</a></li>
      <li><a href="dart-core/DateTime/operator_equals.html">operator ==</a></li>
    
    
      <li class="section-title"><a href="dart-core/DateTime-class.html#static-methods">Static methods</a></li>
      <li><a href="dart-core/DateTime/parse.html">parse</a></li>
    
      <li class="section-title"><a href="dart-core/DateTime-class.html#constants">Constants</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/APRIL-constant.html">APRIL</a></li>
      <li><a href="dart-core/DateTime/april-constant.html">april</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/AUGUST-constant.html">AUGUST</a></li>
      <li><a href="dart-core/DateTime/august-constant.html">august</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/DAYS_PER_WEEK-constant.html">DAYS_PER_WEEK</a></li>
      <li><a href="dart-core/DateTime/daysPerWeek-constant.html">daysPerWeek</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/DECEMBER-constant.html">DECEMBER</a></li>
      <li><a href="dart-core/DateTime/december-constant.html">december</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/FEBRUARY-constant.html">FEBRUARY</a></li>
      <li><a href="dart-core/DateTime/february-constant.html">february</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/FRIDAY-constant.html">FRIDAY</a></li>
      <li><a href="dart-core/DateTime/friday-constant.html">friday</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/JANUARY-constant.html">JANUARY</a></li>
      <li><a href="dart-core/DateTime/january-constant.html">january</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/JULY-constant.html">JULY</a></li>
      <li><a href="dart-core/DateTime/july-constant.html">july</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/JUNE-constant.html">JUNE</a></li>
      <li><a href="dart-core/DateTime/june-constant.html">june</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/MARCH-constant.html">MARCH</a></li>
      <li><a href="dart-core/DateTime/march-constant.html">march</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/MAY-constant.html">MAY</a></li>
      <li><a href="dart-core/DateTime/may-constant.html">may</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/MONDAY-constant.html">MONDAY</a></li>
      <li><a href="dart-core/DateTime/monday-constant.html">monday</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/MONTHS_PER_YEAR-constant.html">MONTHS_PER_YEAR</a></li>
      <li><a href="dart-core/DateTime/monthsPerYear-constant.html">monthsPerYear</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/NOVEMBER-constant.html">NOVEMBER</a></li>
      <li><a href="dart-core/DateTime/november-constant.html">november</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/OCTOBER-constant.html">OCTOBER</a></li>
      <li><a href="dart-core/DateTime/october-constant.html">october</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/SATURDAY-constant.html">SATURDAY</a></li>
      <li><a href="dart-core/DateTime/saturday-constant.html">saturday</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/SEPTEMBER-constant.html">SEPTEMBER</a></li>
      <li><a href="dart-core/DateTime/september-constant.html">september</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/SUNDAY-constant.html">SUNDAY</a></li>
      <li><a href="dart-core/DateTime/sunday-constant.html">sunday</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/THURSDAY-constant.html">THURSDAY</a></li>
      <li><a href="dart-core/DateTime/thursday-constant.html">thursday</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/TUESDAY-constant.html">TUESDAY</a></li>
      <li><a href="dart-core/DateTime/tuesday-constant.html">tuesday</a></li>
      <li><a class="deprecated" href="dart-core/DateTime/WEDNESDAY-constant.html">WEDNESDAY</a></li>
      <li><a href="dart-core/DateTime/wednesday-constant.html">wednesday</a></li>
    </ol>
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    spritewidget 0.9.16
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
